const express = require("express");
const Router = express.Router();


// 成功登录
const login = (token,uid, res, ) => {
  res.status(200).send({
    code: 0,
    msg: "登录成功",
    token,
    uid,
  });
};

// 注册
const register = (res) => {
  res.send({
    code: 0,
    msg: "注册成功",
  });
};


module.exports = {
  login,
  register
};